package com.struts.action;
import com.opensymphony.xwork2.ActionSupport;

public class AddFormSubmit extends ActionSupport {
	/**
	 * no comment
	 */
	private static final long serialVersionUID = -8030323034812216083L;
	private String firstname;
	@Override
	public String execute() throws Exception {
		if(!firstname.equalsIgnoreCase("abc")){
			throw new Exception("mockprgrop1extype401");
		}
		return SUCCESS;
	}
	public String getFirstname() {
		return firstname;
	}
	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}
}
